package com.example.myvideo.entity;

import android.nfc.Tag;

import java.util.List;

public class Video {
    private String videoId;
    private String title;
    private String description;
    private User user; // 视频的发布者
    private List<Tag> tags; // 视频的标签列表

    // 构造函数
    public Video(String videoId, String title, String description, User user, List<Tag> tags) {
        this.videoId = videoId;
        this.title = title;
        this.description = description;
        this.user = user;
        this.tags = tags;
    }

    // Getter 和 Setter 方法
    public String getVideoId() {
        return videoId;
    }

    public void setVideoId(String videoId) {
        this.videoId = videoId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public List<Tag> getTags() {
        return tags;
    }

    public void setTags(List<Tag> tags) {
        this.tags = tags;
    }
}